/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.startup.yellocar.dto;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author difson
 */
@Entity
@Table(name="sms_provider")
public class SMSProviderDTO{
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private long id;
	
	@Column(name="url")
    private String url;
	
	@Column(name="name")
	private String name;
	
	@Column(name="priority")
    private int priority;
	
	@Column(name="token")
    private String token;
	
	@Column(name="user")
    private String user;
	
	@Column(name="password")
    private String password;
	
	@Column(name="service_name")
    private String serviceName;
	
	@Column(name="credit")
    private long credit;
	
	@Column(name="sms_cost")
    private String smsCost;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public long getCredit() {
		return credit;
	}

	public void setCredit(long credit) {
		this.credit = credit;
	}

	public String getSmsCost() {
		return smsCost;
	}

	public void setSmsCost(String smsCost) {
		this.smsCost = smsCost;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
